package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.Setmeal;

import java.util.HashMap;
import java.util.List;

public interface SetmealDao {
    Page<Setmeal> findByCondition(String queryString);

    void add(Setmeal setmeal);

    void setSetmealAndCheckGroupId(HashMap<String, Integer> map);

    Setmeal findById(Integer id);

    void edit(Setmeal setmeal);

    void deleteAssociation(Integer id);

    void deleteById(Integer id);

    List<Setmeal> findAll();

    Setmeal findBysetmealId(int id);
}
